package edu.wtbu.service;

import edu.wtbu.pojo.Result;

public interface ScheduleService {
	public Result updateSchedule(int scheduleId,String status);
	
	//getFlightStatus?departureDate=2019-08-16&startPage=1&pageSize=10
	Result getFlightStatus(String departureDate,int startPage,int pageSize);
	//getSchedule?fromCity=Beijing&toCity=Hong Kong&startDate=2019-08-06&endDate=2019-09-06
	Result findScheduleByCityAndDate(String fromCity,String toCity,String startDate,String endDate);
	//getScheduleDetail?scheduleId=23
	Result getScheduleDetail(int scheduleId);
	//getSearchFlight?fromCity=Beijing&toCity=Hong Kong&departureDate=2019-08-29&cabinTypeId=3&flightType=Non-stop
	Result findNonStopScheduleList(String fromCity,String toCity,String departureDate,Integer cabinTypeId,String flightType);
}
